package net.wanho.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import net.wanho.po.AuthInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author 32033
 * @description 针对表【auth_info(权限表)】的数据库操作Mapper
 * @createDate 2025-01-11 17:01:23
 * @Entity net.wanho.po.AuthInfo
 */
@Mapper
public interface AuthInfoMapper extends BaseMapper<AuthInfo> {


    List<AuthInfo> selectByUserId(Integer userId);

    List<AuthInfo> selectAllAuth();

    List<Integer> findByUserId(Integer userId);

    AuthInfo selectByAuthName(String authName);

    AuthInfo selectByAuthUrl(String authUrl);

    AuthInfo selectByAuthCode(String authCode);
}




